package cn.xy.third.sms.enums;

import lombok.Getter;

/**
 * 验证码类型
 *  @author xy
 */

@Getter
public enum CaptchaType {

    /**
     * 注册
     */
    REGISTER("register", "注册"),

    /**
     * 登陆
     */
    LOGIN("login", "登陆"),

    /**
     * 密码
     */
    PASSWORD("password", "密码"),

    /**
     * 账号绑定
     */
    BIND_ACCOUNT("bindAccount", "账号绑定"),

    /**
     * 二维码授权码
     */
    AUTHORIZATION_CODE("authorizationCode", "二维码授权码");

    /**
     * value
     */
    private String value;

    /**
     * name
     */
    private String name;

    CaptchaType(String value, String name) {
        this.value = value;
        this.name = name;
    }
}
